File
interface File
File data.
Depending on how the File
instance is created, it can correspond to one of the following:
- File path, if the file is selected from an
<input type="file">
element in a submitted form. - File bytes, if the request is created via the JavaScript API, and a file is passed as a part of the
multipart/form-data
body.